home *** CD-ROM | disk | FTP | other *** search
-
-
- > > Well, about dynamic banks...
- > > I thought on them for some time and cannot Paul add a
- > > Banklenghtadd(bytes) command? I don't know, call it Elbnkadd(number,bytes)
- > > or better Elbnkadd(number of the bank, position, bytes).
- > > This will solve many problems.
- > > Poking directly with the bank's lenght is quite dangerous as you could
- > > overlap memory used for something else.
- > > And copying the bank is quite slow if you have a large bank.
- > >
- > > Any ideas or comment?
- > >
- > How about using MakeLib extension (1.6kb) which has some nice mem.
- > allocation + list handling routines ??
- >
- > Like:
- >
- > BUFFER = Ma Malloc (1024,MEM_PUBLIC)
- > if BUFFER
- > <Do what ever you want to do for BUFFER (1024 bytes)>
- > Ma Free (BUFFER) : Rem Free BUFFER
- > End If
- >
- > You can also forget Ma Free or can use Ma Free All (Which is
- > automatically executed when quitting AMOSPro or compiled AMOS
- > program)
- >
- > This is something I call _dynamic_ memory allocationg AMOS banks(tm)
- > sucks.
-
- Where I can find the MakeLib extension?
- Remember... I cannot program in C, so a simple command would be much better!
-
- M&F
-
-